public class StudentMain2 {

    public static void main(String args[]) {

        // 使用构造器赋值
        Student stu1 = new Student("赵莉", 20, 10, "10010", "女");
        Student stu2 = new Student("赵杰", 21, 20, "20020", "男");

        System.out.println(stu1);
        stu1.go("去跑步");
        stu1.sleep();

        System.out.println("==============================");

        System.out.println(stu2);
        stu2.go("去上班");
        stu2.sleep();
    }
}
